package com.backwaveweibo.bww.service;

import com.backwaveweibo.bww.entity.User;
import com.jn.sqlhelper.dialect.pagination.PagingResult;

import java.util.List;

public interface UserService {
    public User findUser(User user);

    public Boolean addUser(User user);

    public Boolean updateUser(User user);

    public Boolean deleteUser(Long id);

    public List<User> batchSelectUser(List<Long> userId);

    public Boolean updatePassword(Long id, String originalPassword, String newPassword);

    public PagingResult findUserPage(Integer pageNumber, Integer pageSize, User user);
}
